<template>
  <!-- 框架常用组件 -->
  <div>
    <!-- tab -->
    <a-tabs default-active-key="1" @change="callback">
      <a-tab-pane key="1" tab="Tab 1">
        Content of Tab Pane 1
      </a-tab-pane>
      <a-tab-pane key="2" tab="Tab 2" force-render>
        Content of Tab Pane 2
      </a-tab-pane>
      <a-tab-pane key="3" tab="Tab 3">
        Content of Tab Pane 3
      </a-tab-pane>
    </a-tabs>
    <!-- display -->
    <a-descriptions title="User Info">
      <a-descriptions-item label="UserName">
        Zhou Maomao
      </a-descriptions-item>
      <a-descriptions-item label="Telephone">
        1810000000
      </a-descriptions-item>
      <a-descriptions-item label="Live">
        Hangzhou, Zhejiang
      </a-descriptions-item>
      <a-descriptions-item label="Remark">
        empty
      </a-descriptions-item>
      <a-descriptions-item label="Address">
        No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
      </a-descriptions-item>
    </a-descriptions>
    <!-- divider -->
    <a-divider />
  </div>
</template>
<script>
export default {
  data () {
    return {};
  },
  methods: {
    callback (key) {
      console.log(key);
    },
  },
};
</script>